﻿using NHibernate;
namespace OpenWaves.ActivityFeed.NHibernate
{
    public class NHibernateSessionWrapper: INHibernateSessionProvider
    {
        private readonly ISession _session;

        public NHibernateSessionWrapper(ISession session)
        {
            this._session = session;
        }

        public ISession Session
        {
            get { return _session; }
        }
    }
}